package routers

import (
	"git.tmuyu.com.cn/beego/controllers"
	"github.com/astaxie/beego"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/wx_connect", &controllers.WxConnectController{})
	beego.Router("/wxpost", &controllers.WxConnectController{}, "get:CreateWxMenu")
	//beego.Router("/acc_token", &controllers.MainController{}, "get:GetToken")
	beego.Router("/sendmsg", &controllers.MsgController{}, "post:SendMsg")
	beego.Router("/sendselfmsg", &controllers.MsgController{}, "post:SendIsSelfMsg")
	beego.Router("/createsendmsg", &controllers.MsgController{}, "get:CreateSendMsg")
	beego.Router("/getopenidlist", &controllers.MsgController{}, "get:GetOpenid")

}
